added time functionality to store