updating to zip based decoder