Renamed variables to avoid fatal error