intermediated activation code with stub test program