delete wrong reduce speed code