distinguish between internal and external applications