safeprints removed (now it's possible to use critical sections)