add stuff for app
handle fails more gracefully.