added category and definition to single page refactor