change the way to distinguish if a node is a reader or not