is it possible to call functions from outside the the BGW and continue the code inside the BGW with that function result is there away for that to be done