Showing how to get interval in navi.