Transform instead of raw loop.