more of the bounds-related compiler errors + the proxytoys way of casting to a local variable and reducing the scope of the unchecked suppresswarnings annotation to the variable declaration