failing test
add capture to global scope
build