Royalties and Profit Maximization