with this we use a boolean weigth