Added Normalize function