workign on zipper logic