modify best plan calculator, keep the calculate method, but add a new
one called "calculateEntry"