Started working towards Paul's suggestion. Seems similar to original idea. Still broken.