added url input method.