added docs, removed typo