initialized mutexes in constructor