inputHandler for cut command added