added exit_* and print_* functions