Synapse speed written in swift