Fold recognition