got interval working