to make it compile
to make it compile
adjusted the formula and some parameters