Fixed some bugs, added admissionsFunctions