Renamed vars for better understanding