doc and minor changes