cleaning up loading