added more cycle control