comment on deck creation function