Database works now