I think that there are a couple of ways to do it, You can look at the code that Isaac did, that is one way. The other way I've seen this done is on Page 141 of your text book. This way involves importing a utility.
I hope I was understanding your question right.
Michelle