reading data part may have some problem