prototype_code_rev2