resource init not test yet
bytecode & samples
bytecode