Mod some blocking code