deleted disused functions.
added reduceDelay operation.