Working on resolution for pagination