added deactivation