Working code woohoo! >.> ^.^ <.<