Code : simplify and normalize