got intervals working!