added comment for validator