added continent handling