improved prereqs functionality