move deck creation into dedicated functions