[#32] Calculation splited into different methods