Using the "function" widget in app studio