Here's the right way to do it.