backwards compabilities in agent