outline code structure