tory act applies to events which occurred before the effective date of the amendatory statute represents a legislative attempt to retroactively apply new statutory language and to thereby annul a prior decision of this court. This is an assumption by the General Assembly of the role of a court of last resort in contravention of the principle of separation of powers embodied in article II, section 1, of the Illinois Constitution of 1970, which provides: ‘The legislative, executive and judicial branches are separate. No branch shall exercise powers properly belonging to another.’
(See Federal Express Corp. v. Skelton (1979), 265 Ark. 187, 199, 578 S.W.2d 1, 7-8;
Johnson v. Morris (1976), 87 Wash. 2d 922, 926, 557 P.2d 1299, 1303; 1A Sutherland, Statutes and Statutory Construction sec. 27.04 (4th ed. 1972).) While the General Assembly has the power to draft legislation and to amend statutes prospectively if it believes that a judicial interpretation was at odds with its intent (see
Bruni v. Department of Registration and Education (1974), 59 Ill. 2d 6, 12;
Mitchell v. Mahin (1972), 51 Ill. 2d 452, 456), it is the function of the judiciary to determine what the law is and to apply statutes to cases. (See
People v. Nicholls (1978), 71 Ill. 2d 166, 179;
Belfield v. Coop (1956), 8 Ill. 2d 293, 307.) The cases cited by the State do not recognize that the General Assembly may retroactively overrule a decision of a reviewing court. Instead they recognize only the power of the legislature to establish laws prospectively and to alter for future cases interpretations of statutes by reviewing courts. See
Modern Dairy Co. v. Department of Revenue (1952), 413 Ill. 55, 66;
State v. Bowman (1962), 116 Ohio App. 285, 286-87, 187 N.E.2d 627, 629;
cf. People ex rel. Spitzer v. County of La Salle (1960), 20 Ill. 2d 18, 28.” 77 Ill. 2d 423, 428-29.