I seem to have gotten a very basic qualified type thing working. still need to noodle with it more, though.