added getdatadimension
merges