return paths and packages