New law prioritises victims in justice system