database global and local added