input editing works