finish rank table