Renamed variables to pool