localdatamodel constructor problem