printing in console photo index and direction woooooooo