Added a constructor