change multiline block to be do end block