makes sure class used