adding documentation for priorities and subnodes