add presence validation to content and category