Try rework of poker code