added guard to the app