Method convertInput implemented.