Load function now has basic functionality working.