add the outline codes, not finished