Thanks for all the help guys, it finally worked