task to sw-timer convertion
remove magic numbers -> defines insteed