Fixes #1. Tps method has been implemented.