add Mutex to Cond as a variable