[PD] creating a dinamic path