changed localization to use new fancy timing-based stuff