Timer and program flow architecture retouched