changed families, added more functions to index.