Edit remaingPie var formula/ use Modulo correctly