add repeat function and use raw_input