add tolerance for timer