added some algebra formulas