changes  for negative values