When I output "res" after this line, it simply shows "MMcS" :(

I like a lot of the changes here, and it really pretties it up, so I'm looking to see if I can't combine them.