Wrote implementation section