added second constructor without confid