final changes for the index. tested and fixed error with birthdate