adding rank selected styling