contacts index refactored