addthelistfuction