segment colors counter is not working.... needs fixing