phonebook with loop