finished InternFormula
integrated first functionality to controller