limit on number of recognition attempts