Add blocks with starting and ending times