app ID is used above. This uses app class. Is this a mistake?