The concept that cshez cited has lots of uses, and it works very well.

What Fred shows works very well too.