add timer methods and algo check