Removed clone for speed-up.