add paging and some styles