Made all deck references pointers