added lseek to reading components