adding tags and pagenation