implemented new scalebreaker, some fixes