added time to save var