made a constructor