improved README and added an example