Add variable function connection