added some DB-Functions