Add function to generate new list