build concatenates in functions, next pieces - remove functionPath, add in paths logic