added documentationto construct