Putting in mutex first