Add mutex, need to complete