Yeah, you pretty much have the simplest way to do it.
This article should answer some of your remaining questions: