updated data point creation code with OMHDataPoint object