layout db data