Decompose complex comparison method
Decompose complex calculations