Defining the constructor