fixed the list function by including the added column