Renamed varilables to make intention explicit.