create deck model