path is also returned