Some rewreting.