minor refactoring, feeling some pain of trying to make ranks objects