Largely working version featuring "each", invocation of member functions and structure-valued arguments