before mutex