print_var is extracted, code written