Added delay parameter, changed prototype configuration.