added item logic