add more logic to complete AppView