fixed the readme example
using a more precise google match
code refactoring