def of self
merging index