Add boolean type recogniton