modified ObjectAtIndex