reducer with const str,bad. Change to int