implemented closeness