added friend attribute