outline loading code