completed redirect withInput() func