Added simple input editing