checked for validation