example for input with message