adds timer support