changes to app flow