Adding cluster detection (Not working)