added total field to items