I'm trying to compare an array of integers to the tags of imageviews I have uniquely made.

using this line: 

```
if(grid[i][j] == buttons[k].getTag()){

```

I know im on the right tracks, but I can't figure out if i need to cast it or use a method. I know its a simple question, but any help would be greatly appreciated, thanks.