See if the new version I sent makes sense.  It need documentation and its own test, but I kindof do that.  I cache the freq you ask for and only that freq so if you ask again for the other one you get the first one.  Lame, but it was pretty simple....