changed some stuff with the pager