minor style changes
added docs