TMP library