working on attribute editing
cleaning up and pretty-printing