added session support to ta