reset and normalize are now in lib