started work on intervals example