little processing class for a timer