define a new contructor with two parameters