check for correct type of challenge