changed var reference from code_reference