using zipper to store paths