updated comment for constructor