complete normalization procedure in console program