LOUISVILLE (WHAS11) -- Indiana law enforcement will soon collect DNA from anyone arrested for a felony in the Hoosier state.

Right now, only people convicted of felonies have their DNA entered into the state's police database.

A law passed last spring allows for the change and it goes into effect in the new year.

Under the new law, a suspected offender's DNA is entered into the DNA database, known as CODIS, after a judge determines police had probable cause to make the arrest.

Clark County Prosecutor Jeremy Mull calls the change "good public policy" because it will give investigators a dramatically larger pool of DNA to find matches.

“Many serial sexual assaulters, child molesters, commit this crime over and over again. Many of them have multiple victims. Many of them assault the victim multiple times especially in child molestation cases. Certainly this is the type of case where you can – you would not be surprised to see the perpetrator strike multiple times and therefore this is such good policy to have a large pool of DNA to match this up against,” Jeremy Mull, Clark County prosecutor, said.

The Republican-controlled House and Senate approved the law by a large margin.

Some lawmakers criticized the provision suggesting it violated Hoosiers' Fourth amendment protections against unreasonable searches and seizures.