You are all set for doubles on $var->courtname on $var->time in a $var->matchtype match. Now all all we need are three warm bodies.