Input and output vector type changed to boolean