Renamed contract, added explanatory comments