added comment validation
minor edits