Added throw exception if modification of data