flat_app working