multiline loop now works. hopefully