Added more interval functions