refactored constants to header