refactored all? method