add pagination to the top and license