change str to s. smaller code for evaluate wc: 1819