playing with arrays and enhanced for loops