Added some requirements for pagination