add spec and code for List name method