add entries and pagination