adding tpsopt module