changes to add in sigma_compare...still more to do