equation contruction