tweaked line by line, added csv