changed order of Meta-FOR. have to check it still works with other examples