use bool type
Merge pull request #35 from randy3k/bool

use bool type