added checks for bad cpt code