changed seek to block and read offset in seek rather than read