added zip functionality