changed input method & op filename