Oops, I was way off, I don't know what I was thinking. Similar, but different

Did you try Aversion's code?