added mutex helper class