refactor to use a better example