Thank You So much the only problem with my code was that i had the array declared as strings. When I changed it it worked. Never would have thought that would affect anything.