use bool type and true/false constants