testing time
finished database building