Added some puts to see where it was failing
Fixed return statement
Removed puts
Merge pull request #12 from bradrees/master

Tracing throwing exception with 'res' being undefined