add function rankpoint