Refactor constant