Now recognizes empty blocks