list appending working better