Wrote compiler class