replace input by cat