consistency, global variables and conditionals