timer works with 2 intervals
file cleaned