modify math example