refactor the constants