adding second constructor