adding
adding
barebone of intervals working