error handling for add to list