additional parameter added to formatItem()