- Renamed variable to keep names consistant throughout the code (thanks Carles!).