an enhanced version of google chrome extension example