try to impletent bytecode encoder