beautified rank directive
minor layout change