Some refactoring & active flag for Boxes