add block condition