findPath returns new type