friend depdency issue