add method to weight ensemble