Polished the definition for app