Behind the Scenes: how royalties work