Added out of range error.