Everything is working fine. but objects can't be passed into a thread apparently?