added pagination elements