Added compare function to snippet file