Functionality for adding list added