I'm getting very confused by the "const int *" error messages and trying something else here