use constant for interval