index getter added, deleting fixed