move render logic to page
add category