Index should be working, and implemented functional dependencies with HP and such