make entity children a hash table, and add a function for setting them