added comment validation