check !blocks.empty()