updating to make greater than