History and end cycle functionality