Updated thread homework yet again