Ok, I wasn't on the wrong track after all, this seems to work better and better