pagination lecture complete