JB's solution worked perfectly, thanks for all the help guys