generate eduArray by data retrieved