chaunge second counter from minute to variable