Add Validation Check for Input