Add needed index (throwing errors)