move names and paths to own function