changed result list to "list"