change veg to boolean