Passing Variables To A Function And Its Inverse