This may lead to an index out of bounds exception