add assertion depending on timer