print_all works in ex 3