Finished typing in the paging code but it's giving compile errors