FIX: calculate result (step1)