demo for input