Add pyramid_tm