changes to deal with delay edges and its assoicated synaptics and extra edges etc