added docs for constructor options