working Path_Finder w mainie