add new scalar objective, based on hogg's suggestion to use Var()