adding ability to deactivate class