added prereq parsing