added sympy equations for flake