Database generator 2