documentation
documentation and cleanup
reformat using IDE