final input edit