some work on TAM generation