replace zip stream with my own impl