added main to normalize