map interval to $interval