some changes to differentiate for ronaldo and generalize for other ices