implement adapt_builder_ correctly