we need to get  from the array of paths in  or pass it also via argument