the order of the code is described in deatil in my original post.. i can't do it any better. The reason you can't just paste it in is that it depends on how your project is coded to begin with.. if you cant figure out what it doing then basically dont bother