first draft of a custom TextReceiver