bug fix + new time based exampe