begining of interval list implementation