exposed  each (aka forEach), and implemented .idx while i was at it