working on pagination
finished pagination!