implementing the possibility to add paths parts together