make c backend chain together called function dependencies