changes to paginations done