added variable time scale