Added normalize, but there are bugs in reset