txt output in data/; graphics output in graphics/
generalize
update todo
better generalizing