finishing dem_app