added listsum assignment