Tree Database Population Checking Stuff