mutex locks - potentially working