refactoring: use constants values