trace_obj to OO and variable changes