trying a different way of printing names