Checked unchecked error, preventing panics