added dynamic quantity for items