prep for mutex stuff