er define that constant smartly