changes made in gem file
changes made for pagination