organize code in fancier way
testing a timer