fold detector data struct used