adding rank getter to registration; and rake task