Simplify app with a do block