Integrate deck logic