learn interval