Added in the boolean function