add better doku for constructor