forgot to declare timer in the local scope.
styling.