#2 refactoring to use constant