Renamed some vars for better readability.