replaced ivars with properties
+ value of shouldRecognize was never read
+ integer convesion