simplifying app example