some work on stdin messages