added friend connection matrix