Switched continent_code to code
Added queriesRemaining