more preparation for adding computer player functionality