diff --git a/exec/load/cardlib.js b/exec/load/cardlib.js
index cc46db1efc9893482395e6d048798f1796fd6b13..188b3968de9b8628342c46b9ebddd6722d075403 100644
--- a/exec/load/cardlib.js
+++ b/exec/load/cardlib.js
@@ -118,7 +118,7 @@ function Hunt_Straight(cards,depth) {
 /* This function accepts any number of cards in as a true array */
 function Rank(cards) {
 	var hand=new Object();
-	hand.group = new Array();
+	hand.group = [[],[],[],[],[]];
 	hand.rank = 0;
 	hand.str = "";
 
@@ -231,8 +231,6 @@ function Rank(cards) {
 		the array index. unshift() will leave
 		the cards sorted from high to low. */
 	for(c in count) { 
-		if(!hand.group[count[c]]) 
-			hand.group[count[c]]=new Array();  
 		hand.group[count[c]].unshift(c); 
 	}
 	return hand;