Problem solved. If anyone is interested in my final code PM me and I'll send it to you.