Your comments

simple but not flexible, and I would call it "workaround" and not a "solution" ;-)