block handling