First of all I have to say that I\'m not sure if I\'m coding the proper approach, I\'ll first explain what I\'m trying to do.