deleted repeat line from user validation