That's the proper way to do it