add zipper function to wing it with doctest