cancel and verify block
move UI declaration to implementation