created originalValues object to pass around original values instead of
individual ones