call secret_message method at end of encoder