updated with raw_input testing