wc working with edge cases.