load function works now but is commented out