uncommented pagination and passed the missed params