add support for double, split, and surrender. need to debug.