added category validations
added category validations
merge conflict