Added normalize validation function