last refactoring, boolean variable renamed