add pagination query exam