added prerequisite parsing