tying a few tools together to help make card games faster