using statements added to context, working on pagination