Added some DB stuff