askInput() method