Include loop from Miguel to extract results