SW: Simplified usage of handleInput