change raw_input to input for v3