Renamed some variables for convenience