Added itr to iterate through an array