add getPathname method