updated has_prereq and has_con_prereq