Comparison for the varibles and messages