use TDS_GET_A2BE for optimization