added initial input method