nodes is a hash, not array