added validation for empty field