There are many ways to this. This is just the way that I decided to do it. I'm not very knowledgeable in this area. It as actually very extraneous for me so if you know an easier better to do this please tell me, so I can cry again of how could I not come up with a more simple solution.