added getPrereqs module function