paginate and some other neat stuff