I have tried it in all the spot and the thing is that the place can be put in any place as long as we can get the whole data (including global vars)