cleaned git friends method