method recognize