// renamed standardizeX to normalizeX