added time modeling