add skip, limit and sort