You can find better setup here.
That covers even more cases.
These are also related. Might be a good idea to check.