Notice the
! Thats looks a bit further than ive learned so far, im doing a project in university so I might look a bit suspicious if i used that,I will have a good look at it though think I can understand most of it.Nyway I think ive found a solution that works,not sure how it does but it seems to do the trick.Time will tell...!
Cheers