deleted never reaching function completion