first half of koordinator:calc