added validation to comment