an obligation or a right can either be with an individual, or a State, as the case may be. When the State undertakes the 13exercise of investigating an offence, it does so on behalf of the public. Thus, any investigation in currency at the time of repealing of any statute, as mentioned in Table 3 of the Fifth Schedule, followed by the introduction of the Act, 2019, shall continue under CrPC, 1989. However, the application of law thereon would be the CrPC, 1973. While so, the CrPC, 1973 cannot be made applicable when the earlier one (i.e. CrPC, 1989) was still in force. 26.It is to be noted, that a mere non-compliance of an earlier procedure mentioned in the repealed Code by itself would not enure to the benefit of an accused, the procedure being a curable one, depending upon the facts and circumstances of the case. To put it differently, apart from the question of prejudice, an investigating agency is not debarred from proceeding further after complying with the omission committed