added input handler