minor changes and doc