https://helperbyte.com/questions/401537/how-to-break-and-rebuild-the-array