suppressed warnings for unchecked casts