Changing the signature of the threads so there is no collision with a parameter name and a function duh! :)