adding a boolean state