Index of method seems to work differently