get_interval (WIP)