refactor code for DB "Globalization"