Almost able to handle simple procedure calls with const parameters