added country database lookup