dynamically add ranks