EOM LAB1 create intervals