Implemented timer on ST