completion routine