added basic ideas for formulas, not complete