Added a constructor for convenience