added formatItemEntry()