merge beans