Move this log inside the load function