updated normalize, added use strict