monkey patching + sandboxing