Local booleans helps organize code