removed to_print_immediate in favor of testing health

cleaned up code