Some freeware products are released alongside paid versions that either have more features or less restrictive licensing terms. This approach is known as freemium ("free" + "premium"), since the free version is intended as a promotion for the premium version. The two often share a code base, using a compiler flag to determine which is produced. For example, BBEdit has a BBEdit Lite edition which has fewer features. XnView is available free of charge for personal use but must be licensed for commercial use. The free version may be advertising supported, as was the case with the DivX.