How to earn royalties from intellectual property