This solution is an example implementation of the App-o-matic