make init and input