- added time check (part 1)