fixed formatting
added docs