finalization of kmls according to leaflets