inject database