work in progress on loop-over