added validation for existing field