updated deck generation code