wrote the plugin in one sitting.  let's see if it works...