default objectiveFn to allow functionless objective