Put in algebraic equation stuff