Added pagination to words