newlist function updated #1