DataBase working appropriately