add docs for constructor