Tell me about set_bases and what it used to do