implement normalizedf