added brazil market and cleaned up some things