minor end conditions