lesson 4: inputHandle works