implement tresormodel