organized the item creation into functions