source code t6m