made datatype take nodeid hash into consideration.