add flat ranks