refatorando kzpack