Wrote code and modified existing comments