two new tpa type functions.