more database and UI work.