Added first implementation of readPage