added index to .get() call