add synapses functions