Add switch case for boolean values