Database now working.