Removed unused local variables.
Updated README example.