add block check to previous commit