replaced time.sleep() with raw_input()