changed argv stuff to input prompts from stdin