save input into var then clear