Wrote a constructor and a width field