writing
derivative of least SV figured out