maybe get the mutex here?