Added boolean conversion