added weighted boolean