refactoring some constants