added pagination and styling