Renamed variables to make the meaning more consistent with the new ToDo list paradigm.