Please use size_t for index lookup; that is the convention in this part of the woods:-)