Added comments in comparison method