store both result and name in result list