changed negative values to positive