checking booleans