removed mp mutex references and unneeded declarations