create events/ranks/rewards functions.