implement terminate - activate

resolves #3