Wrote a class