Added functions needed for the new field, and fixed some minor things