bytecode preparations