First commit of SPFlatten