added app inference