updated to-list: program removes newlines :)