Shouldn't this be `str[y]`? :)