deleted comment
started to implement AND on intervals