added selector for pagination