clean up
make loop examples more similar