added rank mode setter