Get add intervals automatically