Added check to make sure that the input was identified in some way