refactored pool to create an array (slice?) of cards instead of a map