detect out of scope variables
build flx program with a global variable