Celculating lvls by colors done