adding text_input and text_output msg blocks