Messed around with DB connection