added normalize_data()