starting function with items and prices