Implement RETM and TSETM