refactoring: avoid magic constants