initial version running
just saving the progress about how to organize the loop-meta