reactivation and activation with code