added functionality for creating new list