Example - this is the only way I've found to do this. I wish there was a more graceful way