I like that you pulled this out of the app delegate.