update with example and change some names around