code for data reading