modify equations, add instructions