rank view & logic