[3] Added pagination