version 1.2 - deactivation function