routes data stored as tree