Fix get(); add rank(). Tests pass.