do-while + blocks