add timed condition checking.