prereq tree