Added print_a() function