minor cleanups -- add documentation