changes to support dealing cards