Rewrote expression loop.