changed all input to raw_input