use boolean data types as discussed in issue #12