add ranks and delete by rank methods