better timeScale implementation