I think I have used try/catch for every place where an index out of bounds exception might occur. Not sure what else to do.