Path with function.