pass object as datapoint - fix