build database ok