Implemented basic data reading