*almost* ready with loop baseline