debugged: Input_obj and added vars/functions