added databasefunction only for jonas