make constructor public