implemented new contact functionality